#pragma once

namespace a2d
{
//------------------------------------------------------------------

	enum ShaderType
	{
		VERTEX_SHADER,
		FRAGMENT_SHADER
	};

	class Shader
	{
	public:
		bool Create(ShaderType type, const char *source);
		void Bind(uint shaderProgram);
		void Destroy();

	private:
		int status();
		uint m_shader;		
		ShaderType m_type;		
	};

//------------------------------------------------------------------
} // namespace a2d
